package com.lizhenhua.fmmall.mapper;

import com.lizhenhua.fmmall.entity.Orders;
import com.lizhenhua.fmmall.entity.OrdersVo;
import com.lizhenhua.fmmall.general.GeneralDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrdersMapper extends GeneralDao<Orders> {

    List<OrdersVo> selectOrdersByUserId(@Param("userId") String userId,
                                        @Param("status") String status,
                                        @Param("start") int start,
                                        @Param("limit") int limit);
}